package com.lagou.homeWork4.hw4;

/*
* User类
* */

import java.io.Serializable;

public class User implements Serializable {
    private static final long serialVersionUID = 8362793855078828309L;
    private String name;
    private String password;

    User(String name, String password) {
        setName(name);
        setPassword(password);
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
